home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
c
/
pro19
/
ispunct.c
< prev
next >
Wrap
Text File
|
1987-10-04
|
256b
|
9 lines
#define NOCCARGC /* no argument count passing */
/*
** return 'true' if c is a punctuation character
** (all but control and alphanumeric)
*/
ispunct(c) int c; {
return (!isalnum(c) && !iscntrl(c));
}